package psi.vote.view.interfaces;

import model.Party;
import model.Voter;

import java.util.List;

/**
 * Created with IDEA.
 * Voter: Ѱ
 * Date: 12.10.14
 * Time: 12:38
 */
public interface IVoteSystem {
    boolean isAlreadyVote(String userId);
    boolean vote(String userId, int partyId);
    public List<Party> getAllParties(int page);
    public Voter getVoter(String userId);

}
